<AdminTpl file="Common/Head"/>
<body class="J_scroll_fixed">
    <div class="wrap J_check_wrap">
        <div class="h_a">积分配置</div>
        <div class="table_full">
            <form method='post'   id="myform" class="J_ajaxForm"  action="{:U('Setting/index')}">
                <table cellpadding=0 cellspacing=0 width="100%" class="table_form" >
                    <tr>
                        <th width="140">图片放大积分消耗:</th>
                        <td><input type="text" class="input"  name="zoom_pay_score" value="{$Site.zoom_pay_score}" size="40"><span class="gray"> 单位：金币</span></td>
                    </tr>
                    <tr>
                        <th width="140">链接每天消耗积分:</th>
                        <td><input type="text" class="input"  name="link_day_pay" value="{$Site.link_day_pay}" size="40"> <span class="gray"> 单位：金币/天</span></td>
                    </tr>
                    <tr>
                        <th width="140">次级页面每天消耗积分:</th>
                        <td><input type="text" class="input"  name="page_day_pay" value="{$Site.page_day_pay}" size="40"><span class="gray"> 单位：金币/天</span></td>
                    </tr>
                    <tr>
                        <th width="140">首页置顶每天消耗积分:</th>
                        <td><input type="text" class="input"  name="index_top_pay" value="{$Site.index_top_pay}" size="40"> <span class="gray"> 单位：金币/天</span></td>
                    </tr>
                    <tr>
                        <th width="140">分类置顶每天消耗积分:</th>
                        <td><input type="text" class="input"  name="cat_top_pay" value="{$Site.cat_top_pay}" size="40"> <span class="gray"> 单位：金币/天</span></td>
                    </tr>

                    <tr>
                        <th width="140">（格子/广告）发布每天消耗积分:</th>
                        <td><input type="text" class="input"  name="day_pay" value="{$Site.day_pay}" size="40"> <span class="gray"> 单位：金币/天</span></td>
                    </tr>
                </table>
                <div class="btn_wrap">
                    <div class="btn_wrap_pd">             
                        <button class="btn btn_submit mr10 J_ajax_submit_btn" type="submit">提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <script src="__COMMON__/js/common.js?v"></script>
    <script type="text/javascript">
        function generates(genid){
            //生成静态
            if(genid == 1){
                $("#index_ruleid_1").show();
                $("#index_ruleid_1 select").attr("disabled",false);
                $("#index_ruleid_0").hide();
                $("#index_ruleid_0 select").attr("disabled","disabled");
            }else{
                $("#index_ruleid_0").show();
                $("#index_ruleid_0 select").attr("disabled",false);
                $("#index_ruleid_1").hide();
                $("#index_ruleid_1 select").attr("disabled","disabled");
            }
        }
    </script>
</body>
</html>